 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
 }

 :root {
     --primary-blue: #1E3A8A;
     --secondary-blue: #3B82F6;
     --accent-teal: #0D9488;
     --light-bg: #F9FAFB;
     --sidebar-bg: #1E293B;
     --card-bg: #FFFFFF;
     --text-dark: #1F2937;
     --text-light: #F8FAFC;
     --text-gray: #64748B;
     --border-color: #E2E8F0;
     --hover-bg: #2D3748;
     --success: #10B981;
     --warning: #F59E0B;
     --danger: #EF4444;
     --video: #8B5CF6;
     --review: #F59E0B;
     --comment: #10B981;
 }

 body {
     background-color: var(--light-bg);
     color: var(--text-dark);
     display: flex;
     min-height: 100vh;
 }

 /* 左侧导航栏 */
 .sidebar {
     width: 220px;
     background-color: var(--sidebar-bg);
     padding: 20px 0;
     display: flex;
     flex-direction: column;
     position: relative;
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
 }

 .logo {
     padding: 0 20px 20px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
     margin-bottom: 20px;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .logo img {
     height: 40px;
 }

 .logo-text {
     font-size: 20px;
     font-weight: bold;
     color: var(--text-light);
 }

 .nav-item {
     padding: 12px 25px;
     display: flex;
     align-items: center;
     color: var(--text-gray);
     text-decoration: none;
     transition: all 0.3s;
     font-size: 15px;
     border-left: 3px solid transparent;
 }

 .nav-item i {
     margin-right: 12px;
     font-size: 18px;
     width: 24px;
     text-align: center;
 }

 /* 新增用户管理图标颜色 */
 .nav-item[href="backUser.html"] i {
     color: var(--user);
 }

 .nav-item:hover,
 .nav-item.active {
     background: var(--hover-bg);
     color: var(--text-light);
     border-left: 3px solid var(--secondary-blue);
 }

 .nav-item.active {
     color: var(--text-light);
     font-weight: 500;
 }

 /* 主内容区 */
 .main-content {
     flex: 1;
     display: flex;
     flex-direction: column;
     background: var(--light-bg);
 }

 /* 顶部工具栏 */
 .top-bar {
     height: 60px;
     background-color: white;
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 0 25px;
     border-bottom: 1px solid var(--border-color);
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
 }

 .search-box {
     position: relative;
     width: 300px;
 }

 .search-box input {
     width: 100%;
     background: var(--light-bg);
     border: 1px solid var(--border-color);
     border-radius: 20px;
     padding: 8px 15px 8px 40px;
     color: var(--text-dark);
     font-size: 14px;
     transition: all 0.3s;
 }

 .search-box input:focus {
     outline: none;
     border-color: var(--secondary-blue);
     box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
 }

 .search-box i {
     position: absolute;
     left: 15px;
     top: 50%;
     transform: translateY(-50%);
     color: var(--text-gray);
     cursor: pointer;
 }

 .user-actions {
     display: flex;
     align-items: center;
 }

 .notification {
     position: relative;
     margin-right: 25px;
     font-size: 18px;
     color: var(--text-gray);
     cursor: pointer;
     transition: color 0.2s;
 }

 .notification:hover {
     color: var(--secondary-blue);
 }

 /* .notification::after {
     content: "3";
     position: absolute;
     top: -5px;
     right: -10px;
     background: var(--danger);
     color: white;
     font-size: 10px;
     width: 18px;
     height: 18px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
 } */

 .user-profile {
     display: flex;
     align-items: center;
     cursor: pointer;
     padding: 5px 10px;
     border-radius: 20px;
     transition: background 0.2s;
 }

 .user-profile:hover {
     background: var(--light-bg);
 }

 .user-avatar {
     width: 36px;
     height: 36px;
     border-radius: 50%;
     background: linear-gradient(45deg, var(--primary-blue), var(--accent-teal));
     margin-right: 10px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-weight: bold;
     font-size: 18px;
 }

 .username {
     font-size: 14px;
     color: var(--text-dark);
     font-weight: 500;
 }

 /* 内容区域 */
 .content-area {
     padding: 25px;
     flex: 1;
     overflow-y: auto;
     background: var(--light-bg);
 }

 .section-title {
     font-size: 20px;
     margin-bottom: 20px;
     display: flex;
     align-items: center;
     color: var(--text-dark);
 }

 .section-title i {
     margin-right: 10px;
 }

 /* 弹幕管理模块 */
 .danmaku-container {
     background: var(--card-bg);
     border-radius: 8px;
     padding: 25px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
     border: 1px solid var(--border-color);
 }

 .toolbar {
     display: flex;
     justify-content: space-between;
     margin-bottom: 20px;
     flex-wrap: wrap;
     gap: 15px;
 }

 .filter-bar {
     display: flex;
     gap: 10px;
     align-items: center;
 }

 .filter-select {
     padding: 8px 12px;
     border: 1px solid var(--border-color);
     border-radius: 6px;
     background: var(--light-bg);
     color: var(--text-dark);
     font-size: 14px;
     cursor: pointer;
 }

 .filter-select:focus {
     outline: none;
     border-color: var(--secondary-blue);
 }

 .batch-actions {
     display: flex;
     gap: 10px;
 }

 .action-btn {
     background: var(--secondary-blue);
     color: white;
     border: none;
     border-radius: 6px;
     padding: 8px 16px;
     font-size: 14px;
     cursor: pointer;
     min-width: 100px;
     transition: background 0.3s;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 6px;
 }

 .action-btn:hover {
     background: #2563EB;
 }

 .action-btn.delete {
     background: var(--card-bg);
     border: 1px solid var(--border-color);
     color: var(--danger);
 }

 .action-btn.delete:hover {
     background: #FEE2E2;
     border-color: var(--danger);
 }

 .action-btn.export {
     background: var(--success);
 }

 .action-btn.export:hover {
     background: #059669;
 }

 .danmaku-table {
     width: 100%;
     border-collapse: collapse;
     margin-top: 20px;
 }
 
 #danmakuList{
 	height: 577px;
 }

 .danmaku-table th {
     background-color: #F1F5F9;
     color: var(--text-gray);
     font-weight: 600;
     text-align: left;
     padding: 12px 15px;
     font-size: 14px;
     border-bottom: 2px solid var(--border-color);
 }

 .danmaku-table td {
     padding: 15px;
     border-bottom: 1px solid var(--border-color);
     font-size: 14px;
     vertical-align: top;
 }

 .danmaku-table tr:hover {
     background-color: #F8FAFC;
 }

 .danmaku-text {
     color: var(--text-dark);
     line-height: 1.5;
     max-width: 300px;
 }

 .danmaku-info {
     display: flex;
     flex-direction: column;
     gap: 4px;
     font-size: 13px;
     color: var(--text-gray);
 }

 .danmaku-info span {
     display: flex;
     align-items: center;
     gap: 5px;
 }

 .status-badge {
     padding: 4px 8px;
     border-radius: 4px;
     font-size: 12px;
     font-weight: 500;
 }

 .action-cell {
     gap: 8px;
 }

 .icon-btn {
     width: 32px;
     height: 32px;
     border-radius: 6px;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.2s;
     background: var(--light-bg);
     border: 1px solid var(--border-color);
     color: var(--text-gray);
 }

 .icon-btn:hover {
     background: var(--secondary-blue);
     color: white;
     border-color: var(--secondary-blue);
 }

 .icon-btn.delete:hover {
     background: var(--danger);
     border-color: var(--danger);
 }

 .pagination {
     display: flex;
     justify-content: center;
     align-items: center;
     margin-top: 25px;
     gap: 10px;
 }

 .page-btn {
     width: 32px;
     height: 32px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 6px;
     border: 1px solid var(--border-color);
     background: white;
     cursor: pointer;
     transition: all 0.2s;
 }
 
 
.page-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    background: initial;
    color: initial;
}

 .page-btn:hover,
 .page-btn.active {
     background: var(--secondary-blue);
     color: white;
     border-color: var(--secondary-blue);
 }

 .page-info {
     margin: 0 15px;
     font-size: 14px;
     color: var(--text-gray);
 }

 /* 弹幕详情弹窗 */
 .modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     z-index: 1000;
     justify-content: center;
     align-items: center;
 }

 .modal-content {
     background: white;
     border-radius: 8px;
     width: 600px;
     max-width: 90%;
     max-height: 90vh;
     overflow-y: auto;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
 }

 .modal-header {
     padding: 20px;
     border-bottom: 1px solid var(--border-color);
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .modal-title {
     font-size: 18px;
     font-weight: 600;
     color: var(--text-dark);
 }

 .close-modal {
     background: none;
     border: none;
     font-size: 20px;
     cursor: pointer;
     color: var(--text-gray);
     transition: color 0.2s;
 }

 .close-modal:hover {
     color: var(--danger);
 }

 .modal-body {
     padding: 20px;
 }

 .detail-row {
     margin-bottom: 15px;
     display: flex;
 }

 .detail-label {
     width: 120px;
     color: var(--text-gray);
     font-weight: 500;
     font-size: 14px;
 }

 .detail-value {
     flex: 1;
     color: var(--text-dark);
     font-size: 15px;
 }

 .modal-footer {
     padding: 15px 20px;
     border-top: 1px solid var(--border-color);
     display: flex;
     justify-content: flex-end;
     gap: 10px;
 }

 /* 响应式调整 */
 @media (max-width: 992px) {
     .sidebar {
         width: 70px;
     }

     .nav-item span {
         display: none;
     }

     .nav-item i {
         margin-right: 0;
         font-size: 20px;
     }

     .logo-text {
         display: none;
     }

     .toolbar {
         flex-direction: column;
     }

     .batch-actions {
         width: 100%;
         justify-content: flex-end;
     }
 }

 @media (max-width: 768px) {
     .danmaku-table {
         display: block;
         overflow-x: auto;
     }

     .filter-bar {
         flex-wrap: wrap;
     }
 }
 #prompt{
	height: 60px;
	background-color: black;
	position: fixed;
	top: -60px;
	left: 760px;
	margin: auto;
	border-radius: 6px;
	color: white;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	padding: 15px;
	z-index: 10000;
}